home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP Explorer 1.xpl < prev    next >
Text File  |  2002-03-12  |  1KB  |  36 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Appearance\Explorer\Settings"
  5. "NAME"="Auto-Expand Folders"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Auto-Expand Folder in left side of Explorer"
  8. "DESCRIPTION 1"="By default, the Explorer automatically opens folder you select in the left-hand display. Basically, this saves a lot of time but you might want to turn this option off."
  9. "COMMENT 1"="Source: http://www2.cajun.net/~theriots/blk/xp_reg_edits.htm"
  10. "VERSION"="1.02"
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved."
  13. "CONTACTURL"="http://www.xteq.com/"
  14.  
  15.  
  16. sV="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\FriendlyTree"
  17.  
  18. SUB Plugin_Initialize
  19.  i=RegReadValue(sV)
  20.  if i=1 then
  21.   Call SetUIElement(1,true)
  22.  end if
  23. END SUB
  24.  
  25. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  26.  i=GetUIElement(1)
  27.  if i=true then
  28.     Call RegWriteValue(sV,1,2)
  29.  else
  30.     Call RegWriteValue(sV,0,2)
  31.  end if
  32. END SUB
  33.  
  34. SUB Plugin_Terminate
  35. END SUB
  36.